package cn.shyouchi.wuguanjia.android.event;

import cn.shyouchi.wuguanjia.android.ui.event.arrange.PersonRankAdapter;

/**
 * Created by Eenie on 2016/11/27 0:07.
 * Des:
 */

public class PersonRankEvent {
    public static final int CHANGE_TYPE_ADD = 0;
    public static final int CHANGE_TYPE_SUB = 1;
    private PersonRankAdapter.Person person;
    private int rank;
    private int type;


    public PersonRankEvent(PersonRankAdapter.Person person, int rank, int type) {
        this.person = person;
        this.rank = rank;
        this.type = type;
    }

    public PersonRankAdapter.Person getPerson() {
        return person;
    }

    public void setPerson(PersonRankAdapter.Person person) {
        this.person = person;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
